home *** CD-ROM | disk | FTP | other *** search
- Subject: Containers within containers
- Sent: 8/15/96 1:37 AM
- Received: 8/15/96 10:27 AM
- From: Graham, 100635.1255@compuserve.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- Dear ODF Team
-
- Can a container contain a container?
-
- I asked this question once before in a different context and, if I remember
- correctly, got the answer - No. You cant embed ODFContainer in
- ODFContainer, for instance.
-
- This makes sense if only the data is considered - both parts hold the same
- data in the same way so why have one within another. However, the purpose
- of embedding parts may be organisational.
-
- Specifically, I am involved in writing an application in which a collection of
- parts
- are arranged hierarchically in an overall container part (the Page)
-
- The design requires the use of sub containers to hold objects on a lower
- level of the hierarchy - which may themselves be sub-containers.
-
- It is necessary for a container to be a separate part for a number of reasons
- including:
-
- Consistent navigation through the hierarchy
-
- Third parties should be able to write variations on the container easily and
- without interring with the code of the embedding page.
-
- Graham
-
-